package dujiu.luogu.circulation;

import java.util.Scanner;

/**
 * @author dujiu
 * @date 2025/3/1
 * @Description
 */
public class P5720 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int count = 0;
        int result = scanner.nextInt();
        while (true){
            if (result > 1){
                count++;
                result = result / 2;
            }else if (result == 1){
                count++;
                break;
            }
        }
        System.out.println(count);
    }
}
